{#- THE STAMP CARD (0.39): the clock, its facts, and a paw for every day served. The grid is core/pawgrid.py's; on a hidden lock it is fog past today and never the sentence's shape. 🔴 ONE MARKUP FOR EVERY APP THEME (web/apptheme.py): the theme picks which of the ring and the pup it shows and where things sit; the gates below are the only gates. Under a pixel theme app.js redraws `data-px` text in pixel letters — the words stay in the HTML. -#} {%- set g = pawgrid(st, now) %}
{{ status_label[st.status] }}{% if g %} · DAY {{ g.day }}{% if g.days %}/{{ g.days }}{% endif %}{% endif %}
{%- if not st.active %}—{% elif st.hidden %}??:??:??{% else %}{{ st.remaining|clock }}{% endif -%}
{% if st.active %}caged {{ st.elapsed|dur }}{% if st.frozen %} · clock held{% elif st.hidden %} · no peeking, pup{% else %} · good pup!{% endif %}{% else %}the kennel is quiet{% endif %}
{% if st.active %}
started
{{ st.started_at|local }}
ends
{% if st.hidden %}hidden{% else %}{{ st.end_at|local }}{% endif %}
{# 🔴 base is the SENTENCE and the sentence is the secret. This block already gates `ends`, but end_at = started + base + adjust + frozen and `started` is two rows up — so printing base here undid that gate by arithmetic. adjust/frozen stay: both are announced when they happen, and breaking ONE operand is enough. #}
base
{% if st.hidden %}hidden{% else %}{{ st.base_seconds|dur }}{% endif %}
adjust
{{ st.adjust_seconds|sdur }}
frozen
{{ st.frozen_seconds|dur }}{% if st.freeze_until %} · thaws {{ st.freeze_until|rel(now) }}{% endif %}
{% if st.note %}

“{{ st.note }}”

{% endif %} {% endif %}
{% if g %} {% endif %}